﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Paises.aspx.vb" Inherits="Imagenes_Paises" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   
      <table style="width: 601px; height: 465px;">
         <tr>
             <td align="center" style="height: 24px" colspan="4">
                <asp:Label ID="Label27" runat="server" Font-Size="Large" ForeColor="#9966FF" 
                    Text="Administracion de Paises"></asp:Label>
             </td>
             
         </tr>
         <tr>
             <td align="right" style="width: 164px; height: 24px">
             </td>
             <td style="width: 47px; height: 24px">
             </td>
             <td align="right" style="width: 52px; height: 24px">
             </td>
             <td align="left" style="height: 24px">
             </td>
             
         </tr>
         <tr>
             <td align="right" style="width: 164px; height: 42px">
     <asp:Label ID="Label2" runat="server" Text="Id Pais:"></asp:Label>
             </td>
             <td style="width: 47px; height: 42px">
    <asp:TextBox ID="txtidPais" runat="server" ReadOnly="True" Width="31px"></asp:TextBox>
             </td>
             <td align="right" style="width: 52px; height: 42px">
    <asp:Label ID="Label3" runat="server" Text="Pais:"></asp:Label>
             </td>
             <td align="left" style="height: 42px">
                 <asp:TextBox ID="txtPais" runat="server"></asp:TextBox>
             </td>
             
         </tr>
         <tr>
             <td style="width: 164px; height: 23px">
                 </td>
             <td style="width: 47px; height: 23px">
                 </td>
             <td style="width: 52px; height: 23px">
                 </td>
             <td style="height: 23px">
                 </td>
        
         </tr>
         <tr>
             <td align="center" colspan="4" style="height: 37px">
    <asp:Button ID="btnNuevo" runat="server" Text="Nuevo" Width="52px" />
    <asp:Button ID="btnAceptar" runat="server" Text="Aceptar" Enabled="False" />
    <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" Enabled="False" />
    
             </td>
        
         </tr>
         <tr>
             <td style="width: 164px; height: 27px">
                 </td>
             <td style="width: 47px; height: 27px">
                 </td>
             <td style="width: 52px; height: 27px">
                 </td>
             <td style="height: 27px">
                 </td>
        
         </tr>
         <tr>
             <td colspan="4" align="center" valign="top">
    <asp:GridView ID="gvPaises" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" DataKeyNames="id_pais" ForeColor="#333333" 
        GridLines="None" EmptyDataText="No hay paises cargados" AllowPaging="True" 
         PageSize="5">
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <Columns>
            <asp:BoundField DataField="id_pais" HeaderText="Id Pais" />
            <asp:BoundField DataField="Pais" HeaderText="Pais" />
            <asp:CommandField ShowSelectButton="True" />
            <asp:CommandField ButtonType="Image" DeleteImageUrl="~/Imagenes/trash.gif" 
                ShowDeleteButton="True" />
        </Columns>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#99CCFF" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
             </td>
        
         </tr>
     </table>
    
</asp:Content>
